// JointGeneratorArithmeticInfo.cpp: implementation of the JointGeneratorArithmeticInfo class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "phsshare.h"
#include "JointGeneratorArithmetic.h"
#include "JointGeneratorArithmeticInfo.h"
#include "JointGenerator.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

JGAInfo::JGAInfo(
														   INT nFunctionID, 
														   const CString& strFunctionName, 
														   JointGeneratorArithmetic* (*pCreateObject)()):
SingleInstanceRegisterInfo<INT, JointGeneratorArithmetic*>(nFunctionID, strFunctionName, pCreateObject)
{
	VersionControl::JointGenerator::GetJointGenerateArithmetics().Add(nFunctionID, this);
}

JGAInfo::~JGAInfo()
{

}
